package com.blb.service;


import com.blb.pojo.Topic;
import java.sql.SQLException;
import java.util.List;

public interface ITopicService {
    /**
     * 添加朋友圈话题
     * @param topic
     */
    void add(Topic topic) throws SQLException;

    /**
     * 删除
     * @param id
     * @throws SQLException
     */
    void delete(String id) throws SQLException;

    List<Topic> list() throws Exception;
}
